#pragma once

#include <vector>
using namespace std;
#include "igamestate.h"

class CHighScores : public IGameState
{
public:
	static CHighScores* CHighScores::GetInstance( void );

	virtual void Enter( void )	override;					
	virtual void Exit( void )	override;					

	virtual bool Input( void )	override;					
	virtual void Update( float fElapsedTime )	override;	
	virtual void Render( void )	override;

	bool LoadScores();

private:
	struct Scores
	{
		string name;
		int score;
	};

	CHighScores(void);
	~CHighScores(void);
	CHighScores( const CHighScores& );
	CHighScores& operator= ( const CHighScores& );

	float m_nY;
	float vely;
	vector<Scores> m_vScores;
};